home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / src / X11 / xarchie-2.0.9 / selection.h < prev    next >
C/C++ Source or Header  |  1995-06-18  |  697b  |  27 lines

  1. /*
  2.  * selection.h : Defs for manipulating items selected in the browser
  3.  *
  4.  * George Ferguson, ferguson@cs.rochester.edu, 23 Apr 1993.
  5.  */
  6.  
  7. #ifndef SELECTION_H
  8. #define SELECTION_H
  9.  
  10. #include "db.h"
  11.  
  12. typedef struct SelectedItem_s {
  13.     DbEntry *entry;
  14.     int list_index;
  15.     struct SelectedItem_s *next,*prev;
  16. } SelectedItem;
  17.  
  18. extern void resetSelections();
  19. extern void redrawSelectionsForPane(),resetSelectionsForPane();
  20. extern void addSelection(),addSelectionInPane(),removeSelection();
  21. extern SelectedItem *getSelection();
  22. extern Boolean isSelected(),isSelectedInPane();
  23. extern Boolean hasSelection(),hasSelectionInPane();
  24. extern void forEachSelectedItemAtDepth(),forEachSelectedItem();
  25.  
  26. #endif
  27.